package tr.edu.bilgi.videocs.models;

import java.io.Serializable;

public class Video implements Serializable {
  private String id;
  private String title;
  private String thumbnailUrl;
  private String videoUrl;
  private Speaker speaker;
  private Series series;

  public Video(String id, String title, String thumbnailUrl, String videoUrl,
      Speaker speaker, Series series) {
    super();
    this.id = id;
    this.title = title;
    this.thumbnailUrl = thumbnailUrl;
    this.videoUrl = videoUrl;
    this.speaker = speaker;
    this.series = series;
  }

  public Video() {
    // TODO Auto-generated constructor stub
  }

  public Series getSeries() {
    return series;
  }

  public void setSeries(Series series) {
    this.series = series;
  }

  public String getThumbnailUrl() {
    return thumbnailUrl;
  }

  public void setThumbnailUrl(String thumbnailUrl) {
    this.thumbnailUrl = thumbnailUrl;
  }

  public String getVideoUrl() {
    return videoUrl;
  }

  public void setVideoUrl(String videoUrl) {
    this.videoUrl = videoUrl;
  }

  public Speaker getSpeaker() {
    return speaker;
  }

  public void setSpeaker(Speaker speaker) {
    this.speaker = speaker;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  @Override
  public String toString() {
    return "Video [id=" + id + ", title=" + title + ", thumbnailUrl="
        + thumbnailUrl + ", videoUrl=" + videoUrl + ", speaker=" + speaker
        + ", series=" + series + "]";
  }
}
